package com.db.addrbook;

import java.util.Date;

public class AddrBookVO {
	private int msabun;	
	private int addrno;	
	private int type;			
	private String name;			
	private String job;				
	private String company;		
	private String dept;				
	private String email;		
	private String tel;				
	private String hp;				
	private String fax;			
	private String msgid;		
	private String addr;				
	private Date birth;			
	private String homepage;	
	private String description;			
	private int cno;
	// 생일의 년,월,일을 별도의 값으로 출력 
	private String bdyear;
	private String bdmonth;
	private String bdday;
	// 분류명 출력용
	private String cname;
	
	public String getCname() {
		return cname;
	}
	public void setCname(String cname) {
		this.cname = cname;
	}
	public String getBdyear() {
		return bdyear;
	}
	public void setBdyear(String bdyear) {
		this.bdyear = bdyear;
	}
	public String getBdmonth() {
		return bdmonth;
	}
	public void setBdmonth(String bdmonth) {
		this.bdmonth = bdmonth;
	}
	public String getBdday() {
		return bdday;
	}
	public void setBdday(String bdday) {
		this.bdday = bdday;
	}
	public int getMsabun() {
		return msabun;
	}
	public void setMsabun(int msabun) {
		this.msabun = msabun;
	}
	public int getAddrno() {
		return addrno;
	}
	public void setAddrno(int addrno) {
		this.addrno = addrno;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getJob() {
		return job;
	}
	public void setJob(String job) {
		this.job = job;
	}
	public String getCompany() {
		return company;
	}
	public void setCompany(String company) {
		this.company = company;
	}
	public String getDept() {
		return dept;
	}
	public void setDept(String dept) {
		this.dept = dept;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getTel() {
		return tel;
	}
	public void setTel(String tel) {
		this.tel = tel;
	}
	public String getHp() {
		return hp;
	}
	public void setHp(String hp) {
		this.hp = hp;
	}
	public String getFax() {
		return fax;
	}
	public void setFax(String fax) {
		this.fax = fax;
	}
	public String getMsgid() {
		return msgid;
	}
	public void setMsgid(String msgid) {
		this.msgid = msgid;
	}
	public String getAddr() {
		return addr;
	}
	public void setAddr(String addr) {
		this.addr = addr;
	}
	public Date getBirth() {
		return birth;
	}
	public void setBirth(Date birth) {
		this.birth = birth;
	}
	public String getHomepage() {
		return homepage;
	}
	public void setHomepage(String homepage) {
		this.homepage = homepage;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public int getCno() {
		return cno;
	}
	public void setCno(int cno) {
		this.cno = cno;
	}
	@Override
	public String toString() {
		return "AddrBookVO [msabun=" + msabun + ", addrno=" + addrno
				+ ", type=" + type + ", name=" + name + ", job=" + job
				+ ", company=" + company + ", dept=" + dept + ", email="
				+ email + ", tel=" + tel + ", hp=" + hp + ", fax=" + fax
				+ ", msgid=" + msgid + ", addr=" + addr + ", birth=" + birth
				+ ", homepage=" + homepage + ", description=" + description
				+ ", cno=" + cno + ", bdyear=" + bdyear + ", bdmonth="
				+ bdmonth + ", bdday=" + bdday + ", cname=" + cname + "]";
	}	
}
